package cn.lili.modules.promotion.service;

import cn.lili.modules.promotion.entity.dos.TicketPollRecord;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface TicketPollRecordService extends IService<TicketPollRecord> {

    /**
     * 获取用户当天投票数据
     * @return
     */
    List<TicketPollRecord> getByUserId ();

    /**
     * 用户投票
     * @param pollId 投票嘉宾ID
     */
    void add (String pollId);

}
